package pin.db.schema.base;
import pin.db.schema.*;
import java.util.Hashtable;
import java.sql.Timestamp;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Collection;
import java.sql.SQLException;
import java.util.Vector;
public class GroupBase{
	boolean[] modified=new boolean[15];
	public void resetModified(){
		for(boolean b:modified){
			b=false;
		}
	}
	private final Hashtable<String,Object> data=new Hashtable<String,Object>();
	public final void set(String columnNameDb, Object value){
		data.put(columnNameDb,value);
	}
	public final Object get(String columnNameDb){
		return data.get(columnNameDb);
	}
	public GroupBase(){}
	public GroupBase(java.lang.Long groupId,java.lang.String name,java.lang.String description,java.lang.String publicURL,java.lang.Long updateCount,java.lang.Integer totalDownload,java.lang.Integer downloadPerWeek,java.lang.Integer downloadPerDay,java.lang.Integer skim,java.lang.Integer listMember,java.lang.Integer participate,java.lang.Integer post,java.lang.Integer transfer,java.lang.Integer invite,java.lang.Integer auditing){
		setGroupId(groupId);
		setName(name);
		setDescription(description);
		setPublicURL(publicURL);
		setUpdateCount(updateCount);
		setTotalDownload(totalDownload);
		setDownloadPerWeek(downloadPerWeek);
		setDownloadPerDay(downloadPerDay);
		setSkim(skim);
		setListMember(listMember);
		setParticipate(participate);
		setPost(post);
		setTransfer(transfer);
		setInvite(invite);
		setAuditing(auditing);
	}
	public void setGroupId(java.lang.Long groupId){
		if(groupId!=null) {
			set("groupId",groupId);
			this.modified[0] =true;
		}
	}
	public java.lang.Long getGroupId(){
		return (java.lang.Long)get("groupId");
	}
	public void setName(java.lang.String name){
		if(name!=null) {
			set("name",name);
			this.modified[1] =true;
		}
	}
	public java.lang.String getName(){
		return (java.lang.String)get("name");
	}
	public void setDescription(java.lang.String description){
		if(description!=null) {
			set("description",description);
			this.modified[2] =true;
		}
	}
	public java.lang.String getDescription(){
		return (java.lang.String)get("description");
	}
	public void setPublicURL(java.lang.String publicURL){
		if(publicURL!=null) {
			set("publicURL",publicURL);
			this.modified[3] =true;
		}
	}
	public java.lang.String getPublicURL(){
		return (java.lang.String)get("publicURL");
	}
	public void setUpdateCount(java.lang.Long updateCount){
		if(updateCount!=null) {
			set("updateCount",updateCount);
			this.modified[4] =true;
		}
	}
	public java.lang.Long getUpdateCount(){
		return (java.lang.Long)get("updateCount");
	}
	public void setTotalDownload(java.lang.Integer totalDownload){
		if(totalDownload!=null) {
			set("totalDownload",totalDownload);
			this.modified[5] =true;
		}
	}
	public java.lang.Integer getTotalDownload(){
		return (java.lang.Integer)get("totalDownload");
	}
	public void setDownloadPerWeek(java.lang.Integer downloadPerWeek){
		if(downloadPerWeek!=null) {
			set("downloadPerWeek",downloadPerWeek);
			this.modified[6] =true;
		}
	}
	public java.lang.Integer getDownloadPerWeek(){
		return (java.lang.Integer)get("downloadPerWeek");
	}
	public void setDownloadPerDay(java.lang.Integer downloadPerDay){
		if(downloadPerDay!=null) {
			set("downloadPerDay",downloadPerDay);
			this.modified[7] =true;
		}
	}
	public java.lang.Integer getDownloadPerDay(){
		return (java.lang.Integer)get("downloadPerDay");
	}
	public void setSkim(java.lang.Integer skim){
		if(skim!=null) {
			set("skim",skim);
			this.modified[8] =true;
		}
	}
	public java.lang.Integer getSkim(){
		return (java.lang.Integer)get("skim");
	}
	public void setListMember(java.lang.Integer listMember){
		if(listMember!=null) {
			set("listMember",listMember);
			this.modified[9] =true;
		}
	}
	public java.lang.Integer getListMember(){
		return (java.lang.Integer)get("listMember");
	}
	public void setParticipate(java.lang.Integer participate){
		if(participate!=null) {
			set("participate",participate);
			this.modified[10] =true;
		}
	}
	public java.lang.Integer getParticipate(){
		return (java.lang.Integer)get("participate");
	}
	public void setPost(java.lang.Integer post){
		if(post!=null) {
			set("post",post);
			this.modified[11] =true;
		}
	}
	public java.lang.Integer getPost(){
		return (java.lang.Integer)get("post");
	}
	public void setTransfer(java.lang.Integer transfer){
		if(transfer!=null) {
			set("transfer",transfer);
			this.modified[12] =true;
		}
	}
	public java.lang.Integer getTransfer(){
		return (java.lang.Integer)get("transfer");
	}
	public void setInvite(java.lang.Integer invite){
		if(invite!=null) {
			set("invite",invite);
			this.modified[13] =true;
		}
	}
	public java.lang.Integer getInvite(){
		return (java.lang.Integer)get("invite");
	}
	public void setAuditing(java.lang.Integer auditing){
		if(auditing!=null) {
			set("auditing",auditing);
			this.modified[14] =true;
		}
	}
	public java.lang.Integer getAuditing(){
		return (java.lang.Integer)get("auditing");
	}
}
